home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
wb
/
czesc_1
/
cerca
/
others
/
starburst.lha
/
starburst.c
< prev
Wrap
C/C++ Source or Header
|
1991-06-19
|
682b
|
31 lines
/** starburst.c
*
* Toggles the bit that controls whether asterisk wildcards are allowed
* or not. Thanks to Randall Jesup!
*
* W.G.J. Langeveld, July 1990.
*
* Added check for V36.
* Greatly reduced in size by using protos and non-c.o linking.
* Compile with "lc -v -O starburst" and link with "blink starburst.o".
*
* S. Vigna, June 1991
*
**/
#include <exec/types.h>
#include <dos/dos.h>
#include <dos/dosextens.h>
#include <proto/exec.h>
void __saveds main(void) {
struct DosLibrary *DOSBase;
if (!(DOSBase = (void *)OpenLibrary("dos.library", 36L))) return;
((struct RootNode *)(DOSBase->dl_Root))->rn_Flags ^= RNF_WILDSTAR;
CloseLibrary((void *)DOSBase);
}